<?php /* Smarty version Smarty-3.1.8, created on 2012-10-27 16:38:00
         compiled from "E:\www\teraco/templates\admin\user\add.temp.html" */ ?>
<?php /*%%SmartyHeaderCode:15145508c0de85e9dc9-35695652%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'c8a6ee84fa3f5467c2dd00d03b77f4b928329813' => 
    array (
      0 => 'E:\\www\\teraco/templates\\admin\\user\\add.temp.html',
      1 => 1351335087,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '15145508c0de85e9dc9-35695652',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'menu' => 0,
    'infoText' => 0,
    'infoClass' => 0,
    'base_url' => 0,
    'formId' => 0,
    'objectLanguages' => 0,
    'objectlang' => 0,
    'objectInfo' => 0,
    'objectModules' => 0,
    'object' => 0,
    'module' => 0,
    'codemodule' => 0,
    'lang' => 0,
    'username' => 0,
    'confirm' => 0,
    'email' => 0,
    'listStatus' => 0,
    'tel' => 0,
    'cell' => 0,
    'fax' => 0,
    'op' => 0,
    'act' => 0,
    'oId' => 0,
    'pid' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_508c0de8cfb934_35807664',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_508c0de8cfb934_35807664')) {function content_508c0de8cfb934_35807664($_smarty_tpl) {?><?php if (!is_callable('smarty_function_l')) include 'E:\\www\\teraco\\libraries\\plugins\\function.l.php';
?><?php $_smarty_tpl->tpl_vars['formId'] = new Smarty_variable('add', null, 0);?>
<div id="content">
    <div class="highlight">
		<?php echo $_smarty_tpl->tpl_vars['menu']->value;?>

        <?php echo $_smarty_tpl->getSubTemplate ("admin/toolbar.temp.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('title'=>'toolbar'), 0);?>

        <?php if ($_smarty_tpl->tpl_vars['infoText']->value){?>
        <div class="<?php echo $_smarty_tpl->tpl_vars['infoClass']->value;?>
">
            <h4>Result:</h4>
            <p><?php echo $_smarty_tpl->tpl_vars['infoText']->value;?>
</p>
        </div>
        <?php }?>
        <div class="formType">
            <form action="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
" method="post" id="<?php echo $_smarty_tpl->tpl_vars['formId']->value;?>
" name="<?php echo $_smarty_tpl->tpl_vars['formId']->value;?>
">
                <fieldset>
                	<div class="left">
                    	<div class="titles"><?php echo smarty_function_l(array('s'=>'infoneed'),$_smarty_tpl);?>
</div>
                            <ul class="tabs">
                                <?php if ($_smarty_tpl->tpl_vars['objectLanguages']->value){?>
                                    <?php  $_smarty_tpl->tpl_vars['objectlang'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['objectlang']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['objectLanguages']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
 $_smarty_tpl->tpl_vars['objectlang']->index=-1;
foreach ($_from as $_smarty_tpl->tpl_vars['objectlang']->key => $_smarty_tpl->tpl_vars['objectlang']->value){
$_smarty_tpl->tpl_vars['objectlang']->_loop = true;
 $_smarty_tpl->tpl_vars['objectlang']->index++;
 $_smarty_tpl->tpl_vars['objectlang']->first = $_smarty_tpl->tpl_vars['objectlang']->index === 0;
?> 
                                    	<li class="tab <?php if ($_smarty_tpl->tpl_vars['objectlang']->first){?>selected<?php }?>"><?php echo $_smarty_tpl->tpl_vars['objectlang']->value->getField('name');?>
</li>
                                    <?php } ?>                                   
                                <?php }?>                        
                            </ul>
                            <?php if ($_smarty_tpl->tpl_vars['objectLanguages']->value){?>
                                <?php  $_smarty_tpl->tpl_vars['objectlang'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['objectlang']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['objectLanguages']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
 $_smarty_tpl->tpl_vars['objectlang']->index=-1;
foreach ($_from as $_smarty_tpl->tpl_vars['objectlang']->key => $_smarty_tpl->tpl_vars['objectlang']->value){
$_smarty_tpl->tpl_vars['objectlang']->_loop = true;
 $_smarty_tpl->tpl_vars['objectlang']->index++;
 $_smarty_tpl->tpl_vars['objectlang']->first = $_smarty_tpl->tpl_vars['objectlang']->index === 0;
?> 
                                    
                                    <div class="tabcontent <?php if ($_smarty_tpl->tpl_vars['objectlang']->first){?>selected<?php }?>">
                                        <p>
                                            <label for="name"><?php echo smarty_function_l(array('s'=>'name'),$_smarty_tpl);?>
 *</label>
                                            <span><?php echo smarty_function_l(array('s'=>'name_help'),$_smarty_tpl);?>
</span>
                                            <input type="text" name="<?php echo $_smarty_tpl->tpl_vars['objectlang']->value->getField('code');?>
_name" value="<?php echo $_smarty_tpl->tpl_vars['objectInfo']->value->getFieldLangAdmin($_smarty_tpl->tpl_vars['objectlang']->value->getField('code'),'name');?>
" />
                                        </p>
                                        <p>
                                            <label for="about"><?php echo smarty_function_l(array('s'=>'about'),$_smarty_tpl);?>
 </label>
                                            <span><?php echo smarty_function_l(array('s'=>'about_help'),$_smarty_tpl);?>
</span>
                                            <textarea name="<?php echo $_smarty_tpl->tpl_vars['objectlang']->value->getField('code');?>
_about" class="mceSimple" style="width:98%">
                                                <?php echo $_smarty_tpl->tpl_vars['objectInfo']->value->getFieldLangAdmin($_smarty_tpl->tpl_vars['objectlang']->value->getField('code'),'about');?>

                                            </textarea>
                                        </p>
                                        <p>
                                            <label for="address"><?php echo smarty_function_l(array('s'=>'address'),$_smarty_tpl);?>
 </label>
                                            <span><?php echo smarty_function_l(array('s'=>'address_help'),$_smarty_tpl);?>
</span>
                                            <input type="text" name="<?php echo $_smarty_tpl->tpl_vars['objectlang']->value->getField('code');?>
_address" value="<?php echo $_smarty_tpl->tpl_vars['objectInfo']->value->getFieldLangAdmin($_smarty_tpl->tpl_vars['objectlang']->value->getField('code'),'address');?>
" />
                                        </p>                                                                                      
                                        <br class="clear">
                                    </div>
        
                                <?php } ?>                                   
                            <?php }?>                         
                            <p>
                                <br />
                                <label for="cell"><?php echo smarty_function_l(array('s'=>'premissforuser'),$_smarty_tpl);?>
</label>
                                <span><?php echo smarty_function_l(array('s'=>'help_premissforuser'),$_smarty_tpl);?>
</span>
                                <br />
                                <?php if ($_smarty_tpl->tpl_vars['objectModules']->value){?>
                                    <?php  $_smarty_tpl->tpl_vars['object'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['object']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['objectModules']->value['data']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['object']->key => $_smarty_tpl->tpl_vars['object']->value){
$_smarty_tpl->tpl_vars['object']->_loop = true;
?>
                                    	
                                    		<span class="module"><input type="checkbox" name="module[]" value="<?php echo $_smarty_tpl->tpl_vars['object']->value->getField('code');?>
" <?php  $_smarty_tpl->tpl_vars['codemodule'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['codemodule']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['module']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['codemodule']->key => $_smarty_tpl->tpl_vars['codemodule']->value){
$_smarty_tpl->tpl_vars['codemodule']->_loop = true;
?><?php if ($_smarty_tpl->tpl_vars['object']->value->getField('code')==$_smarty_tpl->tpl_vars['codemodule']->value){?>checked="checked"<?php }?><?php } ?> style="width:30px;"/> <?php echo $_smarty_tpl->tpl_vars['object']->value->getFieldLangAdmin($_smarty_tpl->tpl_vars['lang']->value,'name');?>
</span>
                                    	
                                    <?php } ?>                         
                                <?php }?>
                            </p>                         
                                                                           
                    </div>
                    <div class="right">
                    	<div class="titles"><?php echo smarty_function_l(array('s'=>'infononeed'),$_smarty_tpl);?>
</div>
                        <div id="accordion">
                            
                            <div class="title"><?php echo smarty_function_l(array('s'=>'properties'),$_smarty_tpl);?>
</div>
                            
                            <div class="content first">
                            
                                <p>
                                    <label for="username"><?php echo smarty_function_l(array('s'=>'username'),$_smarty_tpl);?>
 *</label>
                                    <span><?php echo smarty_function_l(array('s'=>'help_username'),$_smarty_tpl);?>
</span>
                                    <input type="text" name="username" value="<?php echo $_smarty_tpl->tpl_vars['username']->value;?>
" />
                                </p>  
                                <p>
                                    <label for="password"><?php echo smarty_function_l(array('s'=>'password'),$_smarty_tpl);?>
</label>
                                    <span><?php echo smarty_function_l(array('s'=>'help_password'),$_smarty_tpl);?>
</span>
                                    <input type="password" name="password" value="" />
                                </p>
                                <p>
                                    <label for="password"><?php echo smarty_function_l(array('s'=>'confirm'),$_smarty_tpl);?>
</label>
                                    <span><?php echo smarty_function_l(array('s'=>'confirm_help'),$_smarty_tpl);?>
</span>
                                    <input type="password" name="confirm" value="<?php echo $_smarty_tpl->tpl_vars['confirm']->value;?>
" />
                                </p>                      
                                <p>
                                    <label for="email"><?php echo smarty_function_l(array('s'=>'email'),$_smarty_tpl);?>
 *</label>
                                    <span><?php echo smarty_function_l(array('s'=>'email_help'),$_smarty_tpl);?>
</span>
                                    <input type="text" name="email" value="<?php echo $_smarty_tpl->tpl_vars['email']->value;?>
" />
                                </p>                        
                                 <p>
                                    <label for="status"><?php echo smarty_function_l(array('s'=>'status'),$_smarty_tpl);?>
 *</label>
                                    <span><?php echo smarty_function_l(array('s'=>'help_status'),$_smarty_tpl);?>
</span>
                                    <select name="status">
                                    <?php echo $_smarty_tpl->tpl_vars['listStatus']->value;?>

                                    </select>
                                </p>                                                            
    
                            </div>
    
                            <div class="title"><?php echo smarty_function_l(array('s'=>'optionmore'),$_smarty_tpl);?>
</div>
                            
                            <div class="content">
                                <p>
                                    <label for="tel"><?php echo smarty_function_l(array('s'=>'tel'),$_smarty_tpl);?>
</label>
                                    <span><?php echo smarty_function_l(array('s'=>'tel_help'),$_smarty_tpl);?>
</span>
                                    <input type="text" name="tel" value="<?php echo $_smarty_tpl->tpl_vars['tel']->value;?>
" />
                                </p>
                                <p>
                                <label for="cell"><?php echo smarty_function_l(array('s'=>'cell'),$_smarty_tpl);?>
</label>
                                <span><?php echo smarty_function_l(array('s'=>'cell_help'),$_smarty_tpl);?>
</span>
                                <input type="text" name="cell" value="<?php echo $_smarty_tpl->tpl_vars['cell']->value;?>
" />
                                </p>                        
                                <p>
                                    <label for="fax"><?php echo smarty_function_l(array('s'=>'fax'),$_smarty_tpl);?>
</label>
                                    <span><?php echo smarty_function_l(array('s'=>'fax_help'),$_smarty_tpl);?>
</span>
                                    <input type="text" name="fax" value="<?php echo $_smarty_tpl->tpl_vars['fax']->value;?>
" />
                                </p> 
                            </div>
                            
                        </div>                        

                    </div>
                    <div class="over">  
                        <p class="btnType">
                            <input type="hidden" id="op"  name="op" value="<?php echo $_smarty_tpl->tpl_vars['op']->value;?>
" />
                            <input type="hidden" id="act" name="act" value="<?php echo $_smarty_tpl->tpl_vars['act']->value;?>
" />
                            <input type="hidden" id="oId" name="oId" value="<?php echo $_smarty_tpl->tpl_vars['oId']->value;?>
" />
                            <input type="hidden" id="pid" name="pid" value="<?php echo $_smarty_tpl->tpl_vars['pid']->value;?>
" />
                            <input type="hidden" id="type" name="type" value="<?php echo $_smarty_tpl->tpl_vars['pid']->value;?>
" />
                            <input type="hidden" id="plus" name="plus" value="saveItem" />
                        </p>                                          
                    </div>                   
                </fieldset>
            </form>
        </div>
    </div>
</div><?php }} ?>